package org.bspv.pharma.manager;

import java.util.List;

import org.bspv.pharma.model.Place;
import org.bspv.pharma.model.StandardEquipment;
import org.bspv.pharma.model.StandardEquipmentDetail;

/**
 * 
 * @author guillaume
 * 
 */
public interface StandardEquipmentDetailManager extends
		Manager<StandardEquipmentDetail, Long> {

	/**
	 * Retourne les details d'un armement standard
	 * 
	 * @param stdEqu
	 * @return
	 */
	List<StandardEquipmentDetail> findDetails(StandardEquipment stdEqu);

	/**
	 * 
	 * @param details
	 */
	List<StandardEquipmentDetail> save(List<StandardEquipmentDetail> details);

	/**
	 * Retourne l'ensemble des details d'equipement standard d'un emplacement et
	 * de ses sous-emplacements.
	 * 
	 * @param place
	 * @return
	 */
	List<StandardEquipmentDetail> findAllStandardEquipmentDetails(Place place);

}
